<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="../include.jsp"%>

<link rel="stylesheet" href="${ctx }/static/lib/zTree_v3/css/zTreeStyle/zTreeStyle.css" type="text/css">
<style type="text/css">
.ztree li span.button.add {margin-left:2px; margin-right: -1px; background-position:-144px 0; vertical-align:top; *vertical-align:middle}
.ztree li span.button.refresh{margin:0; background: url(${ctx}/static/lib/zTree_v3/css/zTreeStyle/img/diy/arrow_refresh.png) no-repeat scroll 0 0 transparent; vertical-align:top; *vertical-align:middle}
</style>
<div class="table-responsive">

	<button type="button" class="btn btn-primary" name="toCreate">添加</button>
	<button type="button" class="btn btn-success" name="deleteBath">删除</button>
	<button type="button" class="btn btn-info" name="org">分配部门</button>
	<button type="button" class="btn btn-warning" name="cancleOrg">取消绑定的部门</button>
<!-- 
	<button type="button" class="btn btn-warning">（警告）Warning</button>
	<button type="button" class="btn btn-danger">（危险）Danger</button> 
	-->
	<table id="grid-manager" class="table table-condensed table-hover table-striped">
		<thead>
			<tr>
				<th data-column-id="managerId" data-type="numeric" data-identifier="true" data-sortable="false">编号</th>
				<th data-column-id="accout"  data-sortable="false" data-searchable="false" data-visible="true">账号</th>
			    <th data-column-id="realName"  data-sortable="false" data-searchable="false" data-visible="true">姓名</th>
			    <th data-column-id="number"  data-sortable="false" data-searchable="false" data-visible="true">工号</th>
				<th data-column-id="roles" data-formatter="roles" data-sortable="false">角色</th>
				<th data-column-id="organizations" data-formatter="organizations" data-sortable="false">部门</th>
				<th data-column-id="commands" data-formatter="commands" data-sortable="false">操作</th>
			</tr>
		</thead>
		<tbody>
		</tbody>
	</table>
	
</div>

<script type="text/javascript" src="${ctx }/static/admin/js/adminmanager/adminmanager.js"></script>
<script type="text/javascript" src="${ctx }/static/lib/zTree_v3/js/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="${ctx }/static/lib/zTree_v3/js/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript" src="${ctx }/static/lib/zTree_v3/js/jquery.ztree.exedit-3.5.js"></script>
